package com.xms.plugin.service;

import com.xms.core.enums.OperationType;
import com.xms.core.exception.XmsException;
import com.xms.datacore.service.ICreaterService;
import com.xms.plugin.entity.EntityPlugin;

import java.sql.SQLException;
import java.util.UUID;

/**
 * <p>
 * IEntitypluginCreaterService
 * </p>
 *
 * @author migo
 * @since 2021/10/15
 */
public interface IEntityPluginCreaterService extends ICreaterService<EntityPlugin> {
    boolean create(Class pluginClass, UUID entityId, OperationType operationType, int order, boolean visibled) throws XmsException, SQLException;
}
